package com.bbcloud.service;

import com.bbcloud.common.ServerResponse;
import com.github.pagehelper.PageInfo;

/**
 * Created by liuzhu on 2018/12/11.
 */
public interface IShopService {

    ServerResponse<PageInfo> list(int pageNum, int pageSize, String orderBy);

    ServerResponse addToCart(String token, String userId,String productId,int quantity);

    ServerResponse<PageInfo> cartProductList(String token, String userId,int pageNum, int pageSize, String orderBy);
}
